using SqlSugar;
using System;
using B.S.XZYData.Domain.BaseEntities;

namespace B.S.XZYData.Domain.ZSHH
{
    /// <summary>
    /// 工序采集数据表
    /// </summary>
    [SugarTable("process_collection_data")]
    public class ProcessCollectionData : BaseModel
    {
        /// <summary>
        /// 工序ID(外键)
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public long ProcessId { get; set; }

        /// <summary>
        /// 数据类型(照片/时间等)
        /// </summary>
        [SugarColumn(Length = 50, IsNullable = false)]
        public string DataType { get; set; }

        /// <summary>
        /// 数据名称
        /// </summary>
        [SugarColumn(Length = 100, IsNullable = false)]
        public string DataName { get; set; }

        /// <summary>
        /// 导航属性 - 工序
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public Process Process { get; set; }
    }
} 